package com.ruoyi.compensationManagement.mapper;

import java.util.List;
import com.ruoyi.compensationManagement.domain.CompensationStaffpayroll;
import com.ruoyi.compensationManagement.domain.vo.CompensationStaffPayrollVo;
import com.ruoyi.compensationManagement.domain.vo.SalaryFileVo;

/**
 * 工资表Mapper接口
 *
 * @author ruoyi
 * @date 2022-10-09
 */
public interface CompensationStaffpayrollMapper
{
    /**
     * 查询工资表
     *
     * @param staffpayrollId 工资表主键
     * @return 工资表
     */
    public CompensationStaffpayroll selectCompensationStaffpayrollByStaffpayrollId(Long staffpayrollId);

    /**
     * 查询工资表列表
     *
     * @param compensationStaffpayroll 工资表
     * @return 工资表集合
     */
    public List<CompensationStaffpayroll> selectCompensationStaffpayrollList(CompensationStaffpayroll compensationStaffpayroll);

    /**
     * 新增工资表
     *
     * @param compensationStaffpayroll 工资表
     * @return 结果
     */
    public int insertCompensationStaffpayroll(CompensationStaffpayroll compensationStaffpayroll);

    /**
     * 修改工资表
     *
     * @param compensationStaffpayroll 工资表
     * @return 结果
     */
    public int updateCompensationStaffpayroll(CompensationStaffpayroll compensationStaffpayroll);

    /**
     * 删除工资表
     *
     * @param staffpayrollId 工资表主键
     * @return 结果
     */
    public int deleteCompensationStaffpayrollByStaffpayrollId(Long staffpayrollId);

    /**
     * 批量删除工资表
     *
     * @param staffpayrollIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCompensationStaffpayrollByStaffpayrollIds(Long[] staffpayrollIds);

    /**
     * 确定工资表
     */
    public int determiningStaffPayroll(CompensationStaffpayroll compensationStaffpayroll);

    /**
     * 查询工资档案信息
     * @param compensationStaffpayroll
     * @return
     */
    List<SalaryFileVo> selectCompensationStaffpayrollListToConvertSalaryFiles(CompensationStaffpayroll compensationStaffpayroll);

    /**
     * 查询工资条信息
     * @param compensationStaffpayroll
     * @return
     */
    List<CompensationStaffPayrollVo> selectCompensationArticleWageList(CompensationStaffpayroll compensationStaffpayroll);
}
